let str = "hello world";
console.log(str.padStart(30, "*"));
// *******************hello world